projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57c2f2
)
pci: Remove parameter 'class' of pci_rom_load()
author
Bin Meng
<
[email protected]
>
Fri, 24 Apr 2015 07:48:04 +0000
(15:48 +0800)
committer
Simon Glass
<
[email protected]
>
Thu, 30 Apr 2015 00:51:49 +0000
(18:51 -0600)
pci_rom_load() does not use its parameter 'class', so remove it.
Signed-off-by: Bin Meng <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
drivers/pci/pci_rom.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pci_rom.c
b/drivers/pci/pci_rom.c
index 49c118d74a59368bc3d57f1c941916418dbe5b66..37450c8e31112ebea2012c606d715a7b67d2eca0 100644
(file)
--- a/
drivers/pci/pci_rom.c
+++ b/
drivers/pci/pci_rom.c
@@
-139,7
+139,7
@@
static int pci_rom_probe(pci_dev_t dev, uint class,
return 0;
}
-int pci_rom_load(
uint16_t class,
struct pci_rom_header *rom_header,
+int pci_rom_load(struct pci_rom_header *rom_header,
struct pci_rom_header **ram_headerp)
{
struct pci_rom_data *rom_data;
@@
-253,7
+253,7
@@
int pci_run_vga_bios(pci_dev_t dev, int (*int15_handler)(void), int exec_method)
if (ret)
return ret;
- ret = pci_rom_load(
class,
rom, &ram);
+ ret = pci_rom_load(rom, &ram);
if (ret)
return ret;